// 所有推广中可以复用的方法

// 操作是不是显示
export function operationShow(item: any) {
    return !(+item.status === 2 || +item.isFree === 1)
}


interface ShineUpon {
    suspended_creative_shelves: string,
    suspended_insufficient_account_balance: string,
    suspended_advertising_creativity: string,
    suspended_reach_the_plan_day_budget: string,
    suspended_reach_account_day_budget: string,
    suspended_reach_the_advertising_day_budget: string
}

// 被暂停状态
export const shineUpon:any = {
    suspended_creative_shelves: '创意被下架',
    suspended_insufficient_account_balance: '账户余额不足',
    suspended_advertising_creativity: '广告创意暂停',
    suspended_reach_the_plan_day_budget: '达到推广计划日预算',
    suspended_reach_account_day_budget: '达到账户日预算',
    suspended_reach_the_advertising_day_budget: '达到广告日预算'
}
  // 状态映射
